package org.pupil.common.constants;

/**
 * @Description: 消息类型
 * @Author: pupil
 * @Date: 2024/07/06 下午 9:30
 */
public enum MsgType {

    REQUEST,
    RESPONSE,
    HEARTBEAT;

    public static MsgType findByType(int msgType){
        return MsgType.values()[msgType];
    }
}
